package com.njmaomao.gj.pyot.common.bean.dto;

import java.util.Date;

/**
 * @author hh
 * @description 订单支付通知消息
 * @date 2019-03-13 14:47:40
 */
public class OrderPaidMessage {

    /**
     * 订单号
     */
    private Long mallId;

    /**
     * 订单号
     */
    private String orderCode;

    /**
     * 交易流水号(可空,因为交易流水号在支付成功后方可获得)
     */
    private String tradeNo;

    /**
     * 实际支付金额,单位是分
     */
    private Integer totalAmount;

    /**
     * 货币类型
     */
    private String currency;

    private String appId;

    /**
     * 收款商户号
     */
    private String mchId;

    /**
     * 买家ID openid、支付宝
     */
    private String userId;

    /**
     * 会员系统用户ID
     */
    private Long customerId;

    /**
     * 支付平台(ALIPAY,WEIXIN,UNION_PAY)
     */
    private Integer payStyle;

    /**
     * 支付方式
     */
    private String payMode;

    /**
     * 订单类型(1:订单系统的订单，2:内容订单，3:自定义订单)
     */
    private Integer orderType;

    /**
     * 来源系统
     */
    private String fromSystem;

    /**
     * 状态:0待支付,1已支付,2已关闭
     */
    private Integer status;

    /**
     * 支付平台通知支付系统订单支付结果，支付系统将状态通知到指定url
     */
    private String callbackUrl;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 支付时间,支付成功时回调的时间
     */
    private Date payTime;

    /**
     * 描述
     */
    private String payDesc;

    public Long getMallId() {
        return mallId;
    }

    public void setMallId(Long mallId) {
        this.mallId = mallId;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    public Integer getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(Integer totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getMchId() {
        return mchId;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public Integer getPayStyle() {
        return payStyle;
    }

    public void setPayStyle(Integer payStyle) {
        this.payStyle = payStyle;
    }

    public String getPayMode() {
        return payMode;
    }

    public void setPayMode(String payMode) {
        this.payMode = payMode;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public String getFromSystem() {
        return fromSystem;
    }

    public void setFromSystem(String fromSystem) {
        this.fromSystem = fromSystem;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCallbackUrl() {
        return callbackUrl;
    }

    public void setCallbackUrl(String callbackUrl) {
        this.callbackUrl = callbackUrl;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public String getPayDesc() {
        return payDesc;
    }

    public void setPayDesc(String payDesc) {
        this.payDesc = payDesc;
    }
}